MailAddress accepts invalid email address with consecutive dots#109690
MailAddress accepts invalid email address with consecutive dots#109690ManickaP merged 2 commits intodotnet:mainfrom
Conversation
ManickaP
left a comment
There was a problem hiding this comment.
LGTM, thanks. Please also change the comment above the class:
And we need to change the docs as well as they explicitly mention allowing double dots:
https://learn.microsoft.com/dotnet/api/system.net.mail.mailaddress#remarks
…et#109690) * MailAddress accepts invalid email address with consecutive dots * update DotAtomReader class comment
|
@ericstj Does this need to be documented as a breaking change? See dotnet/docs#50592. |
|
Yeah it should be. Today, reviewers self-identify, maybe we can get copilot to help in the future |
📋 Breaking Change Documentation RequiredCreate a breaking change issue with AI-generated content Generated by Breaking Change Documentation Tool - 2026-01-10 00:23:17 |
|
@ManickaP -- did you want to create the doc using the link above? |
|
Is this a braking change? I would not consider it as such. It's just making the implementation follow RFC more closely. But correct me if I'm wrong. |
The new code behaves differently from previously documented behavior (is more restrictive). I think that counts as a breaking change (regardless how bad the previous behavior was) |
Fixes #109590